<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人简介</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }
        header {
            background-color: #f8f9fa;
            padding: 20px;
            text-align: center;
        }
        .slideshow {
            width: 100%;
            height: 400px;
            overflow: hidden;
            position: relative;
        }
        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }
        .content {
            padding: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        footer {
            background-color: #343a40;
            color: white;
            text-align: center;
            padding: 10px;
            position: fixed;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>
<body>
    <header>
        <h1>欢迎来到我的个人网站!</h1>
    </header>

    <div class="slideshow">
        <div class="slide" style="background-image: url('https://picsum.photos/800/400?random=1');"></div>
        <div class="slide" style="background-image: url('https://picsum.photos/800/400?random=2');"></div>
        <div class="slide" style="background-image: url('https://picsum.photos/800/400?random=3');"></div>
        <div class="slide" style="background-image: url('https://picsum.photos/800/400?random=4');"></div>
        <div class="slide" style="background-image: url('https://picsum.photos/800/400?random=5');"></div>
    </div>

    <div class="content">
        <h2>关于我</h2>
        <p>这里可以写一些关于你的个人介绍...</p>
        <h2>我的技能</h2>
        <p>这里可以列出你的技能...</p>
        <h2>联系方式</h2>
        <p>这里可以添加你的联系方式...</p>
    </div>

    <footer>
        <p>© 2023 我的个人网站. 保留所有权利.</p>
    </footer>

    <script>
        let currentSlide = 0;
        const slides = document.querySelectorAll('.slide');
        
        function showSlide(n) {
            slides.forEach(slide => slide.style.opacity = 0);
            currentSlide = (n + slides.length) % slides.length;
            slides[currentSlide].style.opacity = 1;
        }
        
        function nextSlide() {
            showSlide(currentSlide + 1);
        }
        
        // 初始显示第一张幻灯片
        showSlide(0);
        
        // 每2秒自动切换
        setInterval(nextSlide, 2000);
    </script>
</body>
</html>